---
title: user_account.proto
hide_title: true
---

import { ProtoMessage, ProtoServiceMethod, ProtoEnum } from '@theme/ProtoFile';

# `user_account.proto`
_**path** mgmt/v1alpha1/user_account.proto_

_**package** mgmt.v1alpha1_



---

## Messages


### `AcceptTeamAccountInviteRequest`
<ProtoMessage key={0} message={{"name":"AcceptTeamAccountInviteRequest","longName":"AcceptTeamAccountInviteRequest","fullName":"mgmt.v1alpha1.AcceptTeamAccountInviteRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"token","description":"The token that the user will use to accept the invite.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `AcceptTeamAccountInviteResponse`
<ProtoMessage key={1} message={{"name":"AcceptTeamAccountInviteResponse","longName":"AcceptTeamAccountInviteResponse","fullName":"mgmt.v1alpha1.AcceptTeamAccountInviteResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account","description":"The account that the user was invited to.","label":"","type":"UserAccount","longType":"UserAccount","fullType":"mgmt.v1alpha1.UserAccount","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#useraccount"}]}} />


### `AccountInvite`
<ProtoMessage key={2} message={{"name":"AccountInvite","longName":"AccountInvite","fullName":"mgmt.v1alpha1.AccountInvite","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the invite.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"account_id","description":"The unique identifier of the account to invite the user to.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"sender_user_id","description":"The unique identifier of the user that sent the invite.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"email","description":"The email of the user to invite.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"token","description":"The token that the user will use to accept the invite.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"accepted","description":"Whether or not the invite has been accepted.","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"created_at","description":"The time when the invite was created.","label":"","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"updated_at","description":"The time when the invite was last updated.","label":"","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"expires_at","description":"The time when the invite expires.","label":"","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"role","description":"The role of the user to invite. Only used if RBAC is enabled.","label":"","type":"AccountRole","longType":"AccountRole","fullType":"mgmt.v1alpha1.AccountRole","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountrole"}]}} />


### `AccountOnboardingConfig`
<ProtoMessage key={3} message={{"name":"AccountOnboardingConfig","longName":"AccountOnboardingConfig","fullName":"mgmt.v1alpha1.AccountOnboardingConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"has_completed_onboarding","description":"Whether or not the account has completed onboarding.","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `AccountTemporalConfig`
<ProtoMessage key={4} message={{"name":"AccountTemporalConfig","longName":"AccountTemporalConfig","fullName":"mgmt.v1alpha1.AccountTemporalConfig","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"url","description":"The temporal url for the account.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"namespace","description":"The temporal namespace for the account.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"sync_job_queue_name","description":"The temporal sync job queue name for the account.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `AccountUser`
<ProtoMessage key={5} message={{"name":"AccountUser","longName":"AccountUser","fullName":"mgmt.v1alpha1.AccountUser","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the user.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"name","description":"The name of the user (if there is one)","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"image","description":"The image of the user (if there is one)","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"email","description":"The email of the user.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"role","description":"The role of the user in the account. If RBAC is not enabled, will be unspecified.","label":"","type":"AccountRole","longType":"AccountRole","fullType":"mgmt.v1alpha1.AccountRole","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountrole"}]}} />


### `ConvertPersonalToTeamAccountRequest`
<ProtoMessage key={6} message={{"name":"ConvertPersonalToTeamAccountRequest","longName":"ConvertPersonalToTeamAccountRequest","fullName":"mgmt.v1alpha1.ConvertPersonalToTeamAccountRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"name","description":"The name of the team account","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"account_id","description":"Optionally provide the personal account to convert. This may be used in break-glass scenarios where there are multiple personal accounts\nAnd we want to convert one of them. If not provided, it will find the first one and convert it, leaving the other.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_account_id","defaultValue":""}]}} />


### `ConvertPersonalToTeamAccountResponse`
<ProtoMessage key={7} message={{"name":"ConvertPersonalToTeamAccountResponse","longName":"ConvertPersonalToTeamAccountResponse","fullName":"mgmt.v1alpha1.ConvertPersonalToTeamAccountResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"account_id","description":"The id of the team account (will be the same identifier as the personal account)","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"checkout_session_url","description":"If NeosyncCloud, will respond with a checkout session url so they can setup billing","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_checkout_session_url","defaultValue":""},{"name":"new_personal_account_id","description":"The identifier of the newly created personal account","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `CreateTeamAccountRequest`
<ProtoMessage key={8} message={{"name":"CreateTeamAccountRequest","longName":"CreateTeamAccountRequest","fullName":"mgmt.v1alpha1.CreateTeamAccountRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"name","description":"The name of the team account","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `CreateTeamAccountResponse`
<ProtoMessage key={9} message={{"name":"CreateTeamAccountResponse","longName":"CreateTeamAccountResponse","fullName":"mgmt.v1alpha1.CreateTeamAccountResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the team account that was created.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"checkout_session_url","description":"If NeosyncCloud, will respond with a checkout session url so they can setup billing","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_checkout_session_url","defaultValue":""}]}} />


### `GetAccountBillingCheckoutSessionRequest`
<ProtoMessage key={10} message={{"name":"GetAccountBillingCheckoutSessionRequest","longName":"GetAccountBillingCheckoutSessionRequest","fullName":"mgmt.v1alpha1.GetAccountBillingCheckoutSessionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the billing checkout session for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAccountBillingCheckoutSessionResponse`
<ProtoMessage key={11} message={{"name":"GetAccountBillingCheckoutSessionResponse","longName":"GetAccountBillingCheckoutSessionResponse","fullName":"mgmt.v1alpha1.GetAccountBillingCheckoutSessionResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"checkout_session_url","description":"The url that will be redirected to","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAccountBillingPortalSessionRequest`
<ProtoMessage key={12} message={{"name":"GetAccountBillingPortalSessionRequest","longName":"GetAccountBillingPortalSessionRequest","fullName":"mgmt.v1alpha1.GetAccountBillingPortalSessionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the billing portal session for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAccountBillingPortalSessionResponse`
<ProtoMessage key={13} message={{"name":"GetAccountBillingPortalSessionResponse","longName":"GetAccountBillingPortalSessionResponse","fullName":"mgmt.v1alpha1.GetAccountBillingPortalSessionResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"portal_session_url","description":"The url that will be redirected to","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAccountOnboardingConfigRequest`
<ProtoMessage key={14} message={{"name":"GetAccountOnboardingConfigRequest","longName":"GetAccountOnboardingConfigRequest","fullName":"mgmt.v1alpha1.GetAccountOnboardingConfigRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the onboarding config for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAccountOnboardingConfigResponse`
<ProtoMessage key={15} message={{"name":"GetAccountOnboardingConfigResponse","longName":"GetAccountOnboardingConfigResponse","fullName":"mgmt.v1alpha1.GetAccountOnboardingConfigResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"config","description":"The onboarding config for the account.","label":"","type":"AccountOnboardingConfig","longType":"AccountOnboardingConfig","fullType":"mgmt.v1alpha1.AccountOnboardingConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountonboardingconfig"}]}} />


### `GetAccountStatusRequest`
<ProtoMessage key={16} message={{"name":"GetAccountStatusRequest","longName":"GetAccountStatusRequest","fullName":"mgmt.v1alpha1.GetAccountStatusRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the status for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAccountStatusResponse`
<ProtoMessage key={17} message={{"name":"GetAccountStatusResponse","longName":"GetAccountStatusResponse","fullName":"mgmt.v1alpha1.GetAccountStatusResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"used_record_count","description":"A count of the currently used records for the current billing period.\nThis may go over the allowed record count depending on when the record count is polled by the metric system.","label":"","type":"uint64","longType":"uint64","fullType":"uint64","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"allowed_record_count","description":"The allowed record count. It will be null if there is no limit.","label":"optional","type":"uint64","longType":"uint64","fullType":"uint64","ismap":false,"isoneof":true,"oneofdecl":"_allowed_record_count","defaultValue":""},{"name":"subscription_status","description":"The current subscription status determined by the billing system.","label":"","type":"BillingStatus","longType":"BillingStatus","fullType":"mgmt.v1alpha1.BillingStatus","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#billingstatus"}]}} />


### `GetAccountTemporalConfigRequest`
<ProtoMessage key={18} message={{"name":"GetAccountTemporalConfigRequest","longName":"GetAccountTemporalConfigRequest","fullName":"mgmt.v1alpha1.GetAccountTemporalConfigRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the temporal config for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetAccountTemporalConfigResponse`
<ProtoMessage key={19} message={{"name":"GetAccountTemporalConfigResponse","longName":"GetAccountTemporalConfigResponse","fullName":"mgmt.v1alpha1.GetAccountTemporalConfigResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"config","description":"The temporal config for the account.","label":"","type":"AccountTemporalConfig","longType":"AccountTemporalConfig","fullType":"mgmt.v1alpha1.AccountTemporalConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accounttemporalconfig"}]}} />


### `GetBillingAccountsRequest`
<ProtoMessage key={20} message={{"name":"GetBillingAccountsRequest","longName":"GetBillingAccountsRequest","fullName":"mgmt.v1alpha1.GetBillingAccountsRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_ids","description":"Optional list of account identifiers to filter the response by","label":"repeated","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetBillingAccountsResponse`
<ProtoMessage key={21} message={{"name":"GetBillingAccountsResponse","longName":"GetBillingAccountsResponse","fullName":"mgmt.v1alpha1.GetBillingAccountsResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"accounts","description":"The list of accounts that have a billing id.","label":"repeated","type":"UserAccount","longType":"UserAccount","fullType":"mgmt.v1alpha1.UserAccount","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#useraccount"}]}} />


### `GetSystemInformationRequest`
<ProtoMessage key={22} message={{"name":"GetSystemInformationRequest","longName":"GetSystemInformationRequest","fullName":"mgmt.v1alpha1.GetSystemInformationRequest","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `GetSystemInformationResponse`
<ProtoMessage key={23} message={{"name":"GetSystemInformationResponse","longName":"GetSystemInformationResponse","fullName":"mgmt.v1alpha1.GetSystemInformationResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"version","description":"The Git tagged version","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"commit","description":"The Git commit","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"compiler","description":"The Go compiler flag that was used to build this version of Neosync","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"platform","description":"The Go platform flag that was used to build this version of Neosync","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"build_date","description":"The time when the build was created","label":"","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"license","description":"The license information for the system","label":"","type":"SystemLicense","longType":"SystemLicense","fullType":"mgmt.v1alpha1.SystemLicense","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#systemlicense"}]}} />


### `GetTeamAccountInvitesRequest`
<ProtoMessage key={24} message={{"name":"GetTeamAccountInvitesRequest","longName":"GetTeamAccountInvitesRequest","fullName":"mgmt.v1alpha1.GetTeamAccountInvitesRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the invites for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetTeamAccountInvitesResponse`
<ProtoMessage key={25} message={{"name":"GetTeamAccountInvitesResponse","longName":"GetTeamAccountInvitesResponse","fullName":"mgmt.v1alpha1.GetTeamAccountInvitesResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"invites","description":"The list of invites for the account.","label":"repeated","type":"AccountInvite","longType":"AccountInvite","fullType":"mgmt.v1alpha1.AccountInvite","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountinvite"}]}} />


### `GetTeamAccountMembersRequest`
<ProtoMessage key={26} message={{"name":"GetTeamAccountMembersRequest","longName":"GetTeamAccountMembersRequest","fullName":"mgmt.v1alpha1.GetTeamAccountMembersRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the members for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `GetTeamAccountMembersResponse`
<ProtoMessage key={27} message={{"name":"GetTeamAccountMembersResponse","longName":"GetTeamAccountMembersResponse","fullName":"mgmt.v1alpha1.GetTeamAccountMembersResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"users","description":"","label":"repeated","type":"AccountUser","longType":"AccountUser","fullType":"mgmt.v1alpha1.AccountUser","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountuser"}]}} />


### `GetUserAccountsRequest`
<ProtoMessage key={28} message={{"name":"GetUserAccountsRequest","longName":"GetUserAccountsRequest","fullName":"mgmt.v1alpha1.GetUserAccountsRequest","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `GetUserAccountsResponse`
<ProtoMessage key={29} message={{"name":"GetUserAccountsResponse","longName":"GetUserAccountsResponse","fullName":"mgmt.v1alpha1.GetUserAccountsResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"accounts","description":"The list of accounts that the user belongs to.","label":"repeated","type":"UserAccount","longType":"UserAccount","fullType":"mgmt.v1alpha1.UserAccount","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#useraccount"}]}} />


### `GetUserRequest`
<ProtoMessage key={30} message={{"name":"GetUserRequest","longName":"GetUserRequest","fullName":"mgmt.v1alpha1.GetUserRequest","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `GetUserResponse`
<ProtoMessage key={31} message={{"name":"GetUserResponse","longName":"GetUserResponse","fullName":"mgmt.v1alpha1.GetUserResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"user_id","description":"The unique identifier of the user that was retrieved.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `HasPermissionRequest`
<ProtoMessage key={32} message={{"name":"HasPermissionRequest","longName":"HasPermissionRequest","fullName":"mgmt.v1alpha1.HasPermissionRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to check the permission for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"resource","description":"The resource to check the permission for.","label":"","type":"ResourcePermission","longType":"ResourcePermission","fullType":"mgmt.v1alpha1.ResourcePermission","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#resourcepermission"}]}} />


### `HasPermissionResponse`
<ProtoMessage key={33} message={{"name":"HasPermissionResponse","longName":"HasPermissionResponse","fullName":"mgmt.v1alpha1.HasPermissionResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"has_permission","description":"Whether or not the user has the given permission.","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `HasPermissionsRequest`
<ProtoMessage key={34} message={{"name":"HasPermissionsRequest","longName":"HasPermissionsRequest","fullName":"mgmt.v1alpha1.HasPermissionsRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to check the permissions for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"resources","description":"The resources to check the permissions for.","label":"repeated","type":"ResourcePermission","longType":"ResourcePermission","fullType":"mgmt.v1alpha1.ResourcePermission","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#resourcepermission"}]}} />


### `HasPermissionsResponse`
<ProtoMessage key={35} message={{"name":"HasPermissionsResponse","longName":"HasPermissionsResponse","fullName":"mgmt.v1alpha1.HasPermissionsResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"assertions","description":"Parallel array to the resources, with the same index.","label":"repeated","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `InviteUserToTeamAccountRequest`
<ProtoMessage key={36} message={{"name":"InviteUserToTeamAccountRequest","longName":"InviteUserToTeamAccountRequest","fullName":"mgmt.v1alpha1.InviteUserToTeamAccountRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to invite the user to.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"email","description":"The email of the user to invite.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"role","description":"The role of the user to invite. Only used if RBAC is enabled.","label":"optional","type":"AccountRole","longType":"AccountRole","fullType":"mgmt.v1alpha1.AccountRole","ismap":false,"isoneof":true,"oneofdecl":"_role","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountrole"}]}} />


### `InviteUserToTeamAccountResponse`
<ProtoMessage key={37} message={{"name":"InviteUserToTeamAccountResponse","longName":"InviteUserToTeamAccountResponse","fullName":"mgmt.v1alpha1.InviteUserToTeamAccountResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"invite","description":"The invite that was created.","label":"","type":"AccountInvite","longType":"AccountInvite","fullType":"mgmt.v1alpha1.AccountInvite","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountinvite"}]}} />


### `IsAccountStatusValidRequest`
<ProtoMessage key={38} message={{"name":"IsAccountStatusValidRequest","longName":"IsAccountStatusValidRequest","fullName":"mgmt.v1alpha1.IsAccountStatusValidRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to get the status for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"requested_record_count","description":"An optional count of records to be added to the current usage for validation.","label":"optional","type":"uint64","longType":"uint64","fullType":"uint64","ismap":false,"isoneof":true,"oneofdecl":"_requested_record_count","defaultValue":""}]}} />


### `IsAccountStatusValidResponse`
<ProtoMessage key={39} message={{"name":"IsAccountStatusValidResponse","longName":"IsAccountStatusValidResponse","fullName":"mgmt.v1alpha1.IsAccountStatusValidResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"is_valid","description":"Whether or not the account is valid.","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"reason","description":"If the account is not valid, a reason for why may be provided.","label":"optional","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":true,"oneofdecl":"_reason","defaultValue":""},{"name":"should_poll","description":"Whether or not the process should decide to continue polling for validitiy updates","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"account_status","description":"The current status of the account. Default is valid.","label":"","type":"AccountStatus","longType":"AccountStatus","fullType":"mgmt.v1alpha1.AccountStatus","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountstatus"},{"name":"trial_expires_at","description":"The time when the trial expires","label":"optional","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":true,"oneofdecl":"_trial_expires_at","defaultValue":""}]}} />


### `IsUserInAccountRequest`
<ProtoMessage key={40} message={{"name":"IsUserInAccountRequest","longName":"IsUserInAccountRequest","fullName":"mgmt.v1alpha1.IsUserInAccountRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to check if the user is in.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `IsUserInAccountResponse`
<ProtoMessage key={41} message={{"name":"IsUserInAccountResponse","longName":"IsUserInAccountResponse","fullName":"mgmt.v1alpha1.IsUserInAccountResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"ok","description":"Whether or not the user is in the account.","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `RemoveTeamAccountInviteRequest`
<ProtoMessage key={42} message={{"name":"RemoveTeamAccountInviteRequest","longName":"RemoveTeamAccountInviteRequest","fullName":"mgmt.v1alpha1.RemoveTeamAccountInviteRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the invite to remove.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `RemoveTeamAccountInviteResponse`
<ProtoMessage key={43} message={{"name":"RemoveTeamAccountInviteResponse","longName":"RemoveTeamAccountInviteResponse","fullName":"mgmt.v1alpha1.RemoveTeamAccountInviteResponse","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `RemoveTeamAccountMemberRequest`
<ProtoMessage key={44} message={{"name":"RemoveTeamAccountMemberRequest","longName":"RemoveTeamAccountMemberRequest","fullName":"mgmt.v1alpha1.RemoveTeamAccountMemberRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"user_id","description":"The unique identifier of the user to remove from the account.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"account_id","description":"The unique identifier of the account to remove the user from.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `RemoveTeamAccountMemberResponse`
<ProtoMessage key={45} message={{"name":"RemoveTeamAccountMemberResponse","longName":"RemoveTeamAccountMemberResponse","fullName":"mgmt.v1alpha1.RemoveTeamAccountMemberResponse","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `ResourcePermission`
<ProtoMessage key={46} message={{"name":"ResourcePermission","longName":"ResourcePermission","fullName":"mgmt.v1alpha1.ResourcePermission","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"type","description":"The type of resource to check the permission for.","label":"","type":"Type","longType":"ResourcePermission.Type","fullType":"mgmt.v1alpha1.ResourcePermission.Type","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#resourcepermissiontype"},{"name":"id","description":"The unique identifier of the resource to check the permission for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"action","description":"The action to check for.","label":"","type":"Action","longType":"ResourcePermission.Action","fullType":"mgmt.v1alpha1.ResourcePermission.Action","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#resourcepermissionaction"}]}} />


### `SetAccountOnboardingConfigRequest`
<ProtoMessage key={47} message={{"name":"SetAccountOnboardingConfigRequest","longName":"SetAccountOnboardingConfigRequest","fullName":"mgmt.v1alpha1.SetAccountOnboardingConfigRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to set the onboarding config for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"config","description":"The onboarding config to set for the account.","label":"","type":"AccountOnboardingConfig","longType":"AccountOnboardingConfig","fullType":"mgmt.v1alpha1.AccountOnboardingConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountonboardingconfig"}]}} />


### `SetAccountOnboardingConfigResponse`
<ProtoMessage key={48} message={{"name":"SetAccountOnboardingConfigResponse","longName":"SetAccountOnboardingConfigResponse","fullName":"mgmt.v1alpha1.SetAccountOnboardingConfigResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"config","description":"The onboarding config that was set for the account.","label":"","type":"AccountOnboardingConfig","longType":"AccountOnboardingConfig","fullType":"mgmt.v1alpha1.AccountOnboardingConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountonboardingconfig"}]}} />


### `SetAccountTemporalConfigRequest`
<ProtoMessage key={49} message={{"name":"SetAccountTemporalConfigRequest","longName":"SetAccountTemporalConfigRequest","fullName":"mgmt.v1alpha1.SetAccountTemporalConfigRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to set the temporal config for.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"config","description":"The temporal config to set for the account.","label":"","type":"AccountTemporalConfig","longType":"AccountTemporalConfig","fullType":"mgmt.v1alpha1.AccountTemporalConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accounttemporalconfig"}]}} />


### `SetAccountTemporalConfigResponse`
<ProtoMessage key={50} message={{"name":"SetAccountTemporalConfigResponse","longName":"SetAccountTemporalConfigResponse","fullName":"mgmt.v1alpha1.SetAccountTemporalConfigResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"config","description":"The temporal config that was set for the account.","label":"","type":"AccountTemporalConfig","longType":"AccountTemporalConfig","fullType":"mgmt.v1alpha1.AccountTemporalConfig","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accounttemporalconfig"}]}} />


### `SetBillingMeterEventRequest`
<ProtoMessage key={51} message={{"name":"SetBillingMeterEventRequest","longName":"SetBillingMeterEventRequest","fullName":"mgmt.v1alpha1.SetBillingMeterEventRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":true,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to apply this metered event to.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"event_name","description":"The metered event name","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"The value of the meter for the given time","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"event_id","description":"The unique identifier of this metered event","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"timestamp","description":"The time of the event in Unix Epoch format. Defaults to the current timestamp if not specified.","label":"optional","type":"uint64","longType":"uint64","fullType":"uint64","ismap":false,"isoneof":true,"oneofdecl":"_timestamp","defaultValue":""}]}} />


### `SetBillingMeterEventResponse`
<ProtoMessage key={52} message={{"name":"SetBillingMeterEventResponse","longName":"SetBillingMeterEventResponse","fullName":"mgmt.v1alpha1.SetBillingMeterEventResponse","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `SetPersonalAccountRequest`
<ProtoMessage key={53} message={{"name":"SetPersonalAccountRequest","longName":"SetPersonalAccountRequest","fullName":"mgmt.v1alpha1.SetPersonalAccountRequest","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `SetPersonalAccountResponse`
<ProtoMessage key={54} message={{"name":"SetPersonalAccountResponse","longName":"SetPersonalAccountResponse","fullName":"mgmt.v1alpha1.SetPersonalAccountResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the personal account that was created.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `SetUserRequest`
<ProtoMessage key={55} message={{"name":"SetUserRequest","longName":"SetUserRequest","fullName":"mgmt.v1alpha1.SetUserRequest","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `SetUserResponse`
<ProtoMessage key={56} message={{"name":"SetUserResponse","longName":"SetUserResponse","fullName":"mgmt.v1alpha1.SetUserResponse","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"user_id","description":"The unique identifier of the user that was created.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `SetUserRoleRequest`
<ProtoMessage key={57} message={{"name":"SetUserRoleRequest","longName":"SetUserRoleRequest","fullName":"mgmt.v1alpha1.SetUserRoleRequest","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"account_id","description":"The unique identifier of the account to apply this role to.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"user_id","description":"The unique identifier of the user that this will be applied to.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"role","description":"The role that this user will obtain.","label":"","type":"AccountRole","longType":"AccountRole","fullType":"mgmt.v1alpha1.AccountRole","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#accountrole"}]}} />


### `SetUserRoleResponse`
<ProtoMessage key={58} message={{"name":"SetUserRoleResponse","longName":"SetUserRoleResponse","fullName":"mgmt.v1alpha1.SetUserRoleResponse","description":"","hasExtensions":false,"hasFields":false,"hasOneofs":false,"extensions":[],"fields":[]}} />


### `SystemLicense`
<ProtoMessage key={59} message={{"name":"SystemLicense","longName":"SystemLicense","fullName":"mgmt.v1alpha1.SystemLicense","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"is_valid","description":"Whether or not a valid license was found","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"expires_at","description":"The time when the license expires","label":"","type":"Timestamp","longType":"google.protobuf.Timestamp","fullType":"google.protobuf.Timestamp","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"is_neosync_cloud","description":"Whether or not the license is for NeosyncCloud","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />


### `UserAccount`
<ProtoMessage key={60} message={{"name":"UserAccount","longName":"UserAccount","fullName":"mgmt.v1alpha1.UserAccount","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"id","description":"The unique identifier of the account","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"name","description":"The account slug","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"type","description":"The type of account","label":"","type":"UserAccountType","longType":"UserAccountType","fullType":"mgmt.v1alpha1.UserAccountType","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/api/mgmt/v1alpha1/user_account.proto#useraccounttype"},{"name":"has_stripe_customer_id","description":"Whether or not the account has an associated stripe customer id","label":"","type":"bool","longType":"bool","fullType":"bool","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />

---
## Enums


### `AccountRole`
<ProtoEnum key={0} enumb={{"name":"AccountRole","longName":"AccountRole","fullName":"mgmt.v1alpha1.AccountRole","description":"","values":[{"name":"ACCOUNT_ROLE_UNSPECIFIED","number":"0","description":"Default value, this should not be used, but will default to ACCOUNT_ROLE_JOB_VIEWER"},{"name":"ACCOUNT_ROLE_ADMIN","number":"1","description":"Admin, can do anything in the account."},{"name":"ACCOUNT_ROLE_JOB_DEVELOPER","number":"2","description":"Can view, edit jobs and connections"},{"name":"ACCOUNT_ROLE_JOB_VIEWER","number":"3","description":"Can view"},{"name":"ACCOUNT_ROLE_JOB_EXECUTOR","number":"4","description":"Can view and execute"}]}} />


### `AccountStatus`
<ProtoEnum key={1} enumb={{"name":"AccountStatus","longName":"AccountStatus","fullName":"mgmt.v1alpha1.AccountStatus","description":"","values":[{"name":"ACCOUNT_STATUS_REASON_UNSPECIFIED","number":"0","description":"Default value, should be used when no reason is specified"},{"name":"ACCOUNT_STATUS_ACCOUNT_IN_EXPIRED_STATE","number":"3","description":"Account is currently in an expired state"},{"name":"ACCOUNT_STATUS_ACCOUNT_TRIAL_ACTIVE","number":"4","description":"The account is currently in an active trial period"},{"name":"ACCOUNT_STATUS_ACCOUNT_TRIAL_EXPIRED","number":"5","description":"The account is past the active trial period"}]}} />


### `BillingStatus`
<ProtoEnum key={2} enumb={{"name":"BillingStatus","longName":"BillingStatus","fullName":"mgmt.v1alpha1.BillingStatus","description":"","values":[{"name":"BILLING_STATUS_UNSPECIFIED","number":"0","description":""},{"name":"BILLING_STATUS_ACTIVE","number":"1","description":"Corresponds to a billing subscription and rolls up various states into active\nThis may be split into the future to be more granular and mirror the underlying billing system"},{"name":"BILLING_STATUS_EXPIRED","number":"2","description":"If the system could not find any active subscriptions"},{"name":"BILLING_STATUS_TRIAL_ACTIVE","number":"3","description":"The account does not have an active subscription and is in a valid trial period"},{"name":"BILLING_STATUS_TRIAL_EXPIRED","number":"4","description":"The account does not have an active subscription and the trial period has ended"}]}} />


### `ResourcePermission.Action`
<ProtoEnum key={3} enumb={{"name":"Action","longName":"ResourcePermission.Action","fullName":"mgmt.v1alpha1.ResourcePermission.Action","description":"","values":[{"name":"ACTION_UNSPECIFIED","number":"0","description":""},{"name":"ACTION_CREATE","number":"1","description":""},{"name":"ACTION_READ","number":"2","description":""},{"name":"ACTION_UPDATE","number":"3","description":""},{"name":"ACTION_DELETE","number":"4","description":""}]}} />


### `ResourcePermission.Type`
<ProtoEnum key={4} enumb={{"name":"Type","longName":"ResourcePermission.Type","fullName":"mgmt.v1alpha1.ResourcePermission.Type","description":"","values":[{"name":"TYPE_UNSPECIFIED","number":"0","description":""},{"name":"TYPE_ACCOUNT","number":"1","description":""},{"name":"TYPE_CONNECTION","number":"2","description":""},{"name":"TYPE_JOB","number":"3","description":""}]}} />


### `UserAccountType`
<ProtoEnum key={5} enumb={{"name":"UserAccountType","longName":"UserAccountType","fullName":"mgmt.v1alpha1.UserAccountType","description":"","values":[{"name":"USER_ACCOUNT_TYPE_UNSPECIFIED","number":"0","description":""},{"name":"USER_ACCOUNT_TYPE_PERSONAL","number":"1","description":"A personal account is an account that is owned by a single user."},{"name":"USER_ACCOUNT_TYPE_TEAM","number":"2","description":"A team account is an account that is owned by a team of users."},{"name":"USER_ACCOUNT_TYPE_ENTERPRISE","number":"3","description":"An enterprise account is an account that is owned by an enterprise."}]}} />

---
## Services


### `UserAccountService`

Service that manages users, accounts, and billing


#### `GetUser`
<ProtoServiceMethod key={'GetUser-0'} method={{"name":"GetUser","description":"Retrieves the current user.","requestType":"GetUserRequest","requestLongType":"GetUserRequest","requestFullType":"mgmt.v1alpha1.GetUserRequest","requestStreaming":false,"responseType":"GetUserResponse","responseLongType":"GetUserResponse","responseFullType":"mgmt.v1alpha1.GetUserResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getuserrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getuserresponse"}} />


#### `SetUser`
<ProtoServiceMethod key={'SetUser-1'} method={{"name":"SetUser","description":"Sets the current user.","requestType":"SetUserRequest","requestLongType":"SetUserRequest","requestFullType":"mgmt.v1alpha1.SetUserRequest","requestStreaming":false,"responseType":"SetUserResponse","responseLongType":"SetUserResponse","responseFullType":"mgmt.v1alpha1.SetUserResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setuserrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setuserresponse"}} />


#### `GetUserAccounts`
<ProtoServiceMethod key={'GetUserAccounts-2'} method={{"name":"GetUserAccounts","description":"Retrieves the list of accounts that the user belongs to.","requestType":"GetUserAccountsRequest","requestLongType":"GetUserAccountsRequest","requestFullType":"mgmt.v1alpha1.GetUserAccountsRequest","requestStreaming":false,"responseType":"GetUserAccountsResponse","responseLongType":"GetUserAccountsResponse","responseFullType":"mgmt.v1alpha1.GetUserAccountsResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getuseraccountsrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getuseraccountsresponse"}} />


#### `SetPersonalAccount`
<ProtoServiceMethod key={'SetPersonalAccount-3'} method={{"name":"SetPersonalAccount","description":"Sets the current personal account.","requestType":"SetPersonalAccountRequest","requestLongType":"SetPersonalAccountRequest","requestFullType":"mgmt.v1alpha1.SetPersonalAccountRequest","requestStreaming":false,"responseType":"SetPersonalAccountResponse","responseLongType":"SetPersonalAccountResponse","responseFullType":"mgmt.v1alpha1.SetPersonalAccountResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setpersonalaccountrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setpersonalaccountresponse"}} />


#### `ConvertPersonalToTeamAccount`
<ProtoServiceMethod key={'ConvertPersonalToTeamAccount-4'} method={{"name":"ConvertPersonalToTeamAccount","description":"Convert a personal account to a team account retaining all of the jobs and connections. This will also create a new empty personal account.","requestType":"ConvertPersonalToTeamAccountRequest","requestLongType":"ConvertPersonalToTeamAccountRequest","requestFullType":"mgmt.v1alpha1.ConvertPersonalToTeamAccountRequest","requestStreaming":false,"responseType":"ConvertPersonalToTeamAccountResponse","responseLongType":"ConvertPersonalToTeamAccountResponse","responseFullType":"mgmt.v1alpha1.ConvertPersonalToTeamAccountResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#convertpersonaltoteamaccountrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#convertpersonaltoteamaccountresponse"}} />


#### `CreateTeamAccount`
<ProtoServiceMethod key={'CreateTeamAccount-5'} method={{"name":"CreateTeamAccount","description":"Creates a new team account","requestType":"CreateTeamAccountRequest","requestLongType":"CreateTeamAccountRequest","requestFullType":"mgmt.v1alpha1.CreateTeamAccountRequest","requestStreaming":false,"responseType":"CreateTeamAccountResponse","responseLongType":"CreateTeamAccountResponse","responseFullType":"mgmt.v1alpha1.CreateTeamAccountResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#createteamaccountrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#createteamaccountresponse"}} />


#### `IsUserInAccount`
<ProtoServiceMethod key={'IsUserInAccount-6'} method={{"name":"IsUserInAccount","description":"Checks if the user is in the account.","requestType":"IsUserInAccountRequest","requestLongType":"IsUserInAccountRequest","requestFullType":"mgmt.v1alpha1.IsUserInAccountRequest","requestStreaming":false,"responseType":"IsUserInAccountResponse","responseLongType":"IsUserInAccountResponse","responseFullType":"mgmt.v1alpha1.IsUserInAccountResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#isuserinaccountrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#isuserinaccountresponse"}} />


#### `GetAccountTemporalConfig`
<ProtoServiceMethod key={'GetAccountTemporalConfig-7'} method={{"name":"GetAccountTemporalConfig","description":"Retrieves the temporal config for the account.","requestType":"GetAccountTemporalConfigRequest","requestLongType":"GetAccountTemporalConfigRequest","requestFullType":"mgmt.v1alpha1.GetAccountTemporalConfigRequest","requestStreaming":false,"responseType":"GetAccountTemporalConfigResponse","responseLongType":"GetAccountTemporalConfigResponse","responseFullType":"mgmt.v1alpha1.GetAccountTemporalConfigResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccounttemporalconfigrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccounttemporalconfigresponse"}} />


#### `SetAccountTemporalConfig`
<ProtoServiceMethod key={'SetAccountTemporalConfig-8'} method={{"name":"SetAccountTemporalConfig","description":"Sets the temporal config for the account.","requestType":"SetAccountTemporalConfigRequest","requestLongType":"SetAccountTemporalConfigRequest","requestFullType":"mgmt.v1alpha1.SetAccountTemporalConfigRequest","requestStreaming":false,"responseType":"SetAccountTemporalConfigResponse","responseLongType":"SetAccountTemporalConfigResponse","responseFullType":"mgmt.v1alpha1.SetAccountTemporalConfigResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setaccounttemporalconfigrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setaccounttemporalconfigresponse"}} />


#### `GetTeamAccountMembers`
<ProtoServiceMethod key={'GetTeamAccountMembers-9'} method={{"name":"GetTeamAccountMembers","description":"Retrieves the list of members in the team account.","requestType":"GetTeamAccountMembersRequest","requestLongType":"GetTeamAccountMembersRequest","requestFullType":"mgmt.v1alpha1.GetTeamAccountMembersRequest","requestStreaming":false,"responseType":"GetTeamAccountMembersResponse","responseLongType":"GetTeamAccountMembersResponse","responseFullType":"mgmt.v1alpha1.GetTeamAccountMembersResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getteamaccountmembersrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getteamaccountmembersresponse"}} />


#### `RemoveTeamAccountMember`
<ProtoServiceMethod key={'RemoveTeamAccountMember-10'} method={{"name":"RemoveTeamAccountMember","description":"Removes a member from the team account.","requestType":"RemoveTeamAccountMemberRequest","requestLongType":"RemoveTeamAccountMemberRequest","requestFullType":"mgmt.v1alpha1.RemoveTeamAccountMemberRequest","requestStreaming":false,"responseType":"RemoveTeamAccountMemberResponse","responseLongType":"RemoveTeamAccountMemberResponse","responseFullType":"mgmt.v1alpha1.RemoveTeamAccountMemberResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#removeteamaccountmemberrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#removeteamaccountmemberresponse"}} />


#### `InviteUserToTeamAccount`
<ProtoServiceMethod key={'InviteUserToTeamAccount-11'} method={{"name":"InviteUserToTeamAccount","description":"Invites a user to the team account.","requestType":"InviteUserToTeamAccountRequest","requestLongType":"InviteUserToTeamAccountRequest","requestFullType":"mgmt.v1alpha1.InviteUserToTeamAccountRequest","requestStreaming":false,"responseType":"InviteUserToTeamAccountResponse","responseLongType":"InviteUserToTeamAccountResponse","responseFullType":"mgmt.v1alpha1.InviteUserToTeamAccountResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#inviteusertoteamaccountrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#inviteusertoteamaccountresponse"}} />


#### `GetTeamAccountInvites`
<ProtoServiceMethod key={'GetTeamAccountInvites-12'} method={{"name":"GetTeamAccountInvites","description":"Retrieves the list of invites for the team account.","requestType":"GetTeamAccountInvitesRequest","requestLongType":"GetTeamAccountInvitesRequest","requestFullType":"mgmt.v1alpha1.GetTeamAccountInvitesRequest","requestStreaming":false,"responseType":"GetTeamAccountInvitesResponse","responseLongType":"GetTeamAccountInvitesResponse","responseFullType":"mgmt.v1alpha1.GetTeamAccountInvitesResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getteamaccountinvitesrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getteamaccountinvitesresponse"}} />


#### `RemoveTeamAccountInvite`
<ProtoServiceMethod key={'RemoveTeamAccountInvite-13'} method={{"name":"RemoveTeamAccountInvite","description":"Removes an invite from the team account.","requestType":"RemoveTeamAccountInviteRequest","requestLongType":"RemoveTeamAccountInviteRequest","requestFullType":"mgmt.v1alpha1.RemoveTeamAccountInviteRequest","requestStreaming":false,"responseType":"RemoveTeamAccountInviteResponse","responseLongType":"RemoveTeamAccountInviteResponse","responseFullType":"mgmt.v1alpha1.RemoveTeamAccountInviteResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#removeteamaccountinviterequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#removeteamaccountinviteresponse"}} />


#### `AcceptTeamAccountInvite`
<ProtoServiceMethod key={'AcceptTeamAccountInvite-14'} method={{"name":"AcceptTeamAccountInvite","description":"Accepts an invite to the team account.","requestType":"AcceptTeamAccountInviteRequest","requestLongType":"AcceptTeamAccountInviteRequest","requestFullType":"mgmt.v1alpha1.AcceptTeamAccountInviteRequest","requestStreaming":false,"responseType":"AcceptTeamAccountInviteResponse","responseLongType":"AcceptTeamAccountInviteResponse","responseFullType":"mgmt.v1alpha1.AcceptTeamAccountInviteResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#acceptteamaccountinviterequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#acceptteamaccountinviteresponse"}} />


#### `GetSystemInformation`
<ProtoServiceMethod key={'GetSystemInformation-15'} method={{"name":"GetSystemInformation","description":"Retrieves the system information.","requestType":"GetSystemInformationRequest","requestLongType":"GetSystemInformationRequest","requestFullType":"mgmt.v1alpha1.GetSystemInformationRequest","requestStreaming":false,"responseType":"GetSystemInformationResponse","responseLongType":"GetSystemInformationResponse","responseFullType":"mgmt.v1alpha1.GetSystemInformationResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getsysteminformationrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getsysteminformationresponse"}} />


#### `GetAccountOnboardingConfig`
<ProtoServiceMethod key={'GetAccountOnboardingConfig-16'} method={{"name":"GetAccountOnboardingConfig","description":"Retrieves the onboarding config for the account.","requestType":"GetAccountOnboardingConfigRequest","requestLongType":"GetAccountOnboardingConfigRequest","requestFullType":"mgmt.v1alpha1.GetAccountOnboardingConfigRequest","requestStreaming":false,"responseType":"GetAccountOnboardingConfigResponse","responseLongType":"GetAccountOnboardingConfigResponse","responseFullType":"mgmt.v1alpha1.GetAccountOnboardingConfigResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountonboardingconfigrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountonboardingconfigresponse"}} />


#### `SetAccountOnboardingConfig`
<ProtoServiceMethod key={'SetAccountOnboardingConfig-17'} method={{"name":"SetAccountOnboardingConfig","description":"Sets the onboarding config for the account.","requestType":"SetAccountOnboardingConfigRequest","requestLongType":"SetAccountOnboardingConfigRequest","requestFullType":"mgmt.v1alpha1.SetAccountOnboardingConfigRequest","requestStreaming":false,"responseType":"SetAccountOnboardingConfigResponse","responseLongType":"SetAccountOnboardingConfigResponse","responseFullType":"mgmt.v1alpha1.SetAccountOnboardingConfigResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setaccountonboardingconfigrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setaccountonboardingconfigresponse"}} />


#### `GetAccountStatus`
<ProtoServiceMethod key={'GetAccountStatus-18'} method={{"name":"GetAccountStatus","description":"Returns different metrics on the account status for the active billing period","requestType":"GetAccountStatusRequest","requestLongType":"GetAccountStatusRequest","requestFullType":"mgmt.v1alpha1.GetAccountStatusRequest","requestStreaming":false,"responseType":"GetAccountStatusResponse","responseLongType":"GetAccountStatusResponse","responseFullType":"mgmt.v1alpha1.GetAccountStatusResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountstatusrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountstatusresponse"}} />


#### `IsAccountStatusValid`
<ProtoServiceMethod key={'IsAccountStatusValid-19'} method={{"name":"IsAccountStatusValid","description":"Distils the account status down to whether not it is in a valid state.","requestType":"IsAccountStatusValidRequest","requestLongType":"IsAccountStatusValidRequest","requestFullType":"mgmt.v1alpha1.IsAccountStatusValidRequest","requestStreaming":false,"responseType":"IsAccountStatusValidResponse","responseLongType":"IsAccountStatusValidResponse","responseFullType":"mgmt.v1alpha1.IsAccountStatusValidResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#isaccountstatusvalidrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#isaccountstatusvalidresponse"}} />


#### `GetAccountBillingCheckoutSession`
<ProtoServiceMethod key={'GetAccountBillingCheckoutSession-20'} method={{"name":"GetAccountBillingCheckoutSession","description":"Returns a new checkout session for the account to subscribe","requestType":"GetAccountBillingCheckoutSessionRequest","requestLongType":"GetAccountBillingCheckoutSessionRequest","requestFullType":"mgmt.v1alpha1.GetAccountBillingCheckoutSessionRequest","requestStreaming":false,"responseType":"GetAccountBillingCheckoutSessionResponse","responseLongType":"GetAccountBillingCheckoutSessionResponse","responseFullType":"mgmt.v1alpha1.GetAccountBillingCheckoutSessionResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountbillingcheckoutsessionrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountbillingcheckoutsessionresponse"}} />


#### `GetAccountBillingPortalSession`
<ProtoServiceMethod key={'GetAccountBillingPortalSession-21'} method={{"name":"GetAccountBillingPortalSession","description":"Returns a new billing portal session if the account has a billing customer id","requestType":"GetAccountBillingPortalSessionRequest","requestLongType":"GetAccountBillingPortalSessionRequest","requestFullType":"mgmt.v1alpha1.GetAccountBillingPortalSessionRequest","requestStreaming":false,"responseType":"GetAccountBillingPortalSessionResponse","responseLongType":"GetAccountBillingPortalSessionResponse","responseFullType":"mgmt.v1alpha1.GetAccountBillingPortalSessionResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountbillingportalsessionrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getaccountbillingportalsessionresponse"}} />


#### `GetBillingAccounts`
<ProtoServiceMethod key={'GetBillingAccounts-22'} method={{"name":"GetBillingAccounts","description":"Returns user accounts that have a billing id.","requestType":"GetBillingAccountsRequest","requestLongType":"GetBillingAccountsRequest","requestFullType":"mgmt.v1alpha1.GetBillingAccountsRequest","requestStreaming":false,"responseType":"GetBillingAccountsResponse","responseLongType":"GetBillingAccountsResponse","responseFullType":"mgmt.v1alpha1.GetBillingAccountsResponse","responseStreaming":false,"options":{"idempotency_level":"NO_SIDE_EFFECTS"},"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getbillingaccountsrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#getbillingaccountsresponse"}} />


#### `SetBillingMeterEvent`
<ProtoServiceMethod key={'SetBillingMeterEvent-23'} method={{"name":"SetBillingMeterEvent","description":"Sends a new metered event to the billing system","requestType":"SetBillingMeterEventRequest","requestLongType":"SetBillingMeterEventRequest","requestFullType":"mgmt.v1alpha1.SetBillingMeterEventRequest","requestStreaming":false,"responseType":"SetBillingMeterEventResponse","responseLongType":"SetBillingMeterEventResponse","responseFullType":"mgmt.v1alpha1.SetBillingMeterEventResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setbillingmetereventrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setbillingmetereventresponse"}} />


#### `SetUserRole`
<ProtoServiceMethod key={'SetUserRole-24'} method={{"name":"SetUserRole","description":"Sets the users role","requestType":"SetUserRoleRequest","requestLongType":"SetUserRoleRequest","requestFullType":"mgmt.v1alpha1.SetUserRoleRequest","requestStreaming":false,"responseType":"SetUserRoleResponse","responseLongType":"SetUserRoleResponse","responseFullType":"mgmt.v1alpha1.SetUserRoleResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setuserrolerequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#setuserroleresponse"}} />


#### `HasPermission`
<ProtoServiceMethod key={'HasPermission-25'} method={{"name":"HasPermission","description":"Checks if the user has the given permission","requestType":"HasPermissionRequest","requestLongType":"HasPermissionRequest","requestFullType":"mgmt.v1alpha1.HasPermissionRequest","requestStreaming":false,"responseType":"HasPermissionResponse","responseLongType":"HasPermissionResponse","responseFullType":"mgmt.v1alpha1.HasPermissionResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#haspermissionrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#haspermissionresponse"}} />


#### `HasPermissions`
<ProtoServiceMethod key={'HasPermissions-26'} method={{"name":"HasPermissions","description":"Bulk check if a user has the given permissions","requestType":"HasPermissionsRequest","requestLongType":"HasPermissionsRequest","requestFullType":"mgmt.v1alpha1.HasPermissionsRequest","requestStreaming":false,"responseType":"HasPermissionsResponse","responseLongType":"HasPermissionsResponse","responseFullType":"mgmt.v1alpha1.HasPermissionsResponse","responseStreaming":false,"requestTypeLink":"/api/mgmt/v1alpha1/user_account.proto#haspermissionsrequest","responseTypeLink":"/api/mgmt/v1alpha1/user_account.proto#haspermissionsresponse"}} />


---


  